import Vue from 'vue'
import VueRouter from 'vue-router'
import home from '@/components/HelloWorld.vue'


Vue.use(VueRouter)

const router = new VueRouter({
    routes:[
        {
            path: '/',
            component: home
        },
        {
            path: '/test',
            name: 'test',
            component: () => import('../docs/button.md')
        },
        {
            path: '/tests',
            name: 'tests',
            component: () => import('../components/test.vue')
        }
    ]
})

export default router